package com.kkyy.mymusic.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kkyy.mymusic.entity.UsersEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.annotation.security.PermitAll;
import java.util.List;

@Mapper
public interface UsersDao extends BaseMapper<UsersEntity> {
    UsersEntity getUserByUsername(String username);

    void insertUsers(@Param("username") String username, @Param("password") String password);
}